home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
Issue28
/
construc
/
MAIN.DPR
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-10-26
|
289 b
|
18 lines
program Main;
{$APPTYPE CONSOLE}
{$C-}
uses
SysUtils, Dialogs;
function SideEffect(X: Integer): Integer;
begin
ShowMessage(Format('Hello, world %d.',[X]));
Result := X
end;
begin
writeln('start');
assert(SideEffect(42) = 42);
writeln('stop');
end.